package com.boot3.starter.service;


import com.boot3.starter.config.RobotConfig;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class RobotService {


    @Resource
    private RobotConfig robotConfig;

    public String sayHello() {
        return "你好：机器人：" + robotConfig.getName() + "，联系邮箱：" + robotConfig.getEmail() + "，配置地址：" + robotConfig.getAddress();
    }

}
